package com.xqls.dao;

import com.xqls.beans.SysRole;
import com.xqls.beans.SysUser;

import java.util.List;

public interface UserMapper {
    public SysUser selectById(Long id);
    public List<SysUser> selectAll();
    public List<SysRole> selectRolesByUserId(Long userId);
    public int insert(SysUser user);
    public List<SysUser> selectByNE(SysUser sysUser);
    public int updateByIdSelective(SysUser user);
    public SysUser selectByIdOrUserName(SysUser user);
    public List<SysUser> selectByUser(SysUser user);
    public List<SysUser> selectByIds(SysUser user);
}
